CVE-2026-23019
net: marvell: prestera: fix NULL dereference on devlink_alloc() failure
Description
In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: fix NULL dereference on devlink_alloc() failure devlink_alloc() may return NULL on allocation failure, but prestera_devlink_alloc() unconditionally calls devlink_priv() on the returned pointer. This leads to a NULL pointer dereference if devlink allocation fails. Add a check for a NULL devlink pointer and return NULL early to avoid the crash.
INFO
Published Date :
Jan. 31, 2026, 12:16 p.m.
Last Modified :
Jan. 31, 2026, 12:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-23019
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Check devlink pointer for NULL after allocation.
- Return NULL early if allocation fails.
- Apply the provided kernel patch.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-23019.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-23019 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-23019
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-23019 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-23019 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 31, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: fix NULL dereference on devlink_alloc() failure devlink_alloc() may return NULL on allocation failure, but prestera_devlink_alloc() unconditionally calls devlink_priv() on the returned pointer. This leads to a NULL pointer dereference if devlink allocation fails. Add a check for a NULL devlink pointer and return NULL early to avoid the crash. Added Reference https://git.kernel.org/stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2 Added Reference https://git.kernel.org/stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064 Added Reference https://git.kernel.org/stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25b Added Reference https://git.kernel.org/stable/c/8a4333b2818f0d853b43e139936c20659366e4a0 Added Reference https://git.kernel.org/stable/c/94e070cd50790317fba7787ae6006934b7edcb6f Added Reference https://git.kernel.org/stable/c/a428e0da1248c353557970848994f35fd3f005e2